package com.neusoft.hifly.push.sms.aliyun.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 阿里大于短信配置
 */
@Component
public class AliyunConfig {
	// 是否启用
	@Value("${aliyun.use:false}")
	private boolean use;

	// 产品名称:云通信短信API产品,开发者无需替换
	@Value("${aliyun.product:null}")
	private String product;

	// 产品域名,开发者无需替换
	@Value("${aliyun.domain:null}")
	private String domain;

	public boolean isUse() {
		return use;
	}

	public void setUse(final boolean use) {
		this.use = use;
	}

	public String getProduct() {
		return product;
	}

	public void setProduct(final String product) {
		this.product = product;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(final String domain) {
		this.domain = domain;
	}

}
